package org.poptest.populate.provider.impl;

import org.poptest.populate.provider.NumberProvider;

/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * @author Alan Roche
 *         Date: 14/02/11
 *         Time: 22:58
 */
public class ByteProvider extends NumberProvider<Byte> {
    public ByteProvider() {
        super(Byte.class, (byte) 1, Byte.MAX_VALUE);
    }

    @Override
    protected Byte doNextValue() {
        return Byte.valueOf((byte) (value + 1));
    }
}
